import api from './api'

class ExpressApi extends api {
  query (code, number) {
    return this.request({
      url: `${this.servicePath}/${this.modulePath}/${code}/${number}`,
      method: 'get',
      showLoading: false
    })
  }
}

export default new ExpressApi('common/express')
